package com.grf.service;

import com.grf.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

@Service
@FeignClient(value = "provider-hystrix-9001")
public interface DeptClientService {

    /**
     * 获取一个用户
     * @return
     */
    @GetMapping("/getUser")
    User getUser();

}
